package com.cloud.tools.log.project.service;

import com.cloud.tools.log.project.model.entity.OperateLog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 操作日志记录 服务类
 * </p>
 *
 * @author Sam
 * @since 2021-04-07
 */
public interface IOperateLogService extends IService<OperateLog> {

    /**
     * 添加日志(异步)
     *
     * @param operateLog
     */
    void saveAsyncLog(OperateLog operateLog);

    /**
     * 清空日志
     */
    void cleanLog();
}
